using Microsoft.EntityFrameworkCore;

using Tool;

namespace Abc.Core.Entities
{
    /// <summary>
    /// 记事本
    /// </summary>
    [Comment("记事本")]
    public class Notepad : CreateEntity, IExtension
    {
        /// <summary>
        /// 标题
        /// </summary>
        [Comment("标题")]
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        [Comment("内容")]
        public string Content { get; set; }

        /// <summary>
        /// 来源ID
        /// </summary>
        [Comment("来源ID")]
        public int? SourceId { get; set; }

        /// <summary>
        /// 扩展json数据字段
        /// <c><Dictionary<string,string></c>
        /// </summary>
        [Comment("扩展json数据字段")]
        public string ExtensionData { get; set; }
    }
}